package me.zhengjie.state;

import lombok.Getter;

@Getter
public enum MaterialStatus {
    RETRY_COUNT(3,"重试次数"),
    ONE_FLOOR_RETURN_TO_THE_WAREHOUSE(1,"1楼回库设备id"),
    RETURN_TO_THE_WAREHOUSE_address(511,"1楼回库返回条码查询信息"),
    AGV_LIKAI(510,"agv离开"),
    MATERIAL_STATUS_NO(0,"无料"),
    MATERIAL_STATUS_YES(1,"有料"),
    RETURN_ONE_RESULT_YES(1,"有料"),
    RETURN_ONE_RESULT_NO(2,"未查到嵌套信息NG"),
    RETURN_ONE_RESULT_MATERIAL_EXIST(3,"容器编码已存在库区"),
    RETURN_ONE_RESULT_QUALITY_TESTING_NO(4,"原物料Q质检不通过"),
    RETURN_ONE_RESULT_WMS_INVENTORY_INFORMATION_NO(5,"WMS未找到载具码信息"),
    RETURN_ONE_RESULT_MES_AND_WMS_INVENTORY_NO(6,".MES和WMS库存信息不一致"),
    RETURN_ONE_RESULT_NG(7,"空箱入库查到嵌套信息NG"),
    RETURN_ONE_RESULT_STORAGE_LOCATION_NOT_FOUND(8,".未找到储位"),
    NOT_EXCEEDING(1,"未超高"),
    EXCEEDING(2,"超高"),
    NG(0,"NG"),
    OK(1,"OK"),
    TCP_CARRY_NO(0,"AGV不允许"),
    TCP_CARRY_YES(1,"AGV允许"),
    AGV_NOT_MOVED(0,"AGV搬运我未完成"),
    AGV_MOVED(1,"AGV搬运完成"),
    AGV_TRANSPORT_IN_THE_TASK(1,"AGV搬运任务中"),
    AGV_TRANSPORT_COMPLETE(2,"AGV搬运完成"),

    ;

    private Integer status;

    private String message;

    MaterialStatus(Integer status, String message) {
        this.status = status;
        this.message = message;
    }
}
